package com.SparkCore.framwork.controller

import com.SparkCore.framwork.common.TController
import com.SparkCore.framwork.service.WordCountService

/**
 * 控制层
 */
class WordCountController extends TController{

  private val wordCountService = new WordCountService()

  //调度
  def dispatch(): Unit = {

    val array = wordCountService.dataAnalysis()
    array.foreach(println)
  }
}
